package com.woniuxy.hrp.utils;

import java.text.SimpleDateFormat;
import java.util.Date;



public class Mednumber {
	public static final String prefix="HRP";
	public static long code;
	public static String getnumber() {
		code++;
		String str = new SimpleDateFormat("yyyyMMdd").format(new Date());
		long m = Long.parseLong((str)) * 10000;
        m += code;
		return (prefix+m);
	}
}
